--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<gpx version="1.0" creator="GPSBabel - https://www.gpsbabel.org" xmlns="http://www.topografix.com/GPX/1/0">
+ <time>2020-12-17T13:49:58.329Z</time>
+ <bounds minlat="0.000000000" minlon="1.000000000" maxlat="2.000030000" maxlon="3.000030000"/>
+ <trk>
+ <name>track0</name>
+ <trkseg>
+ <trkpt lat="0.000000000" lon="1.000000000">
+ <time>2010-01-02T03:04:05Z</time>
+ </trkpt>
+ <trkpt lat="0.000010000" lon="1.000020000">
+ <time>2010-01-02T03:04:06Z</time>
+ </trkpt>
+ </trkseg>
+ </trk>
+ <trk>
+ <name>track1</name>
+ <trkseg>
+ <trkpt lat="1.000000000" lon="2.000000000">
+ <time>2010-01-02T03:04:07Z</time>
+ </trkpt>
+ <trkpt lat="1.000010000" lon="2.000010000">
+ <time>2010-01-02T03:04:08Z</time>
+ </trkpt>
+ <trkpt lat="1.000020000" lon="2.000020000">
+ <time>2010-01-02T03:04:09Z</time>
+ </trkpt>
+ </trkseg>
+ </trk>
+ <trk>
+ <name>track2</name>
+ <trkseg>
+ <trkpt lat="2.000000000" lon="3.000000000">
+ <time>2010-01-02T03:04:10Z</time>
+ </trkpt>
+ <trkpt lat="2.000010000" lon="3.000010000">
+ <time>2010-01-02T03:04:11Z</time>
+ </trkpt>
+ <trkpt lat="2.000020000" lon="3.000020000">
+ <time>2010-01-02T03:04:12Z</time>
+ </trkpt>
+ <trkpt lat="2.000030000" lon="3.000030000">
+ <time>2010-01-02T03:04:13Z</time>
+ </trkpt>
+ </trkseg>
+ </trk>
+</gpx>
--- /dev/null
+OziExplorer Track Point File Version 2.1\r
+WGS 84\r
+Altitude is in Feet\r
+Reserved 3\r
+0,2,255,track1,0,0,2,8421376\r
+0\r
+1.000000,2.000000,1,-777.0,40180.1278588,,\r
+1.000010,2.000010,0,-777.0,40180.1278704,,\r
+1.000020,2.000020,0,-777.0,40180.1278819,,\r
--- /dev/null
+OziExplorer Track Point File Version 2.1\r
+WGS 84\r
+Altitude is in Feet\r
+Reserved 3\r
+0,2,255,track2,0,0,2,8421376\r
+0\r
+2.000000,3.000000,1,-777.0,40180.1278935,,\r
+2.000010,3.000010,0,-777.0,40180.1279051,,\r
+2.000020,3.000020,0,-777.0,40180.1279167,,\r
+2.000030,3.000030,0,-777.0,40180.1279282,,\r
--- /dev/null
+OziExplorer Track Point File Version 2.1\r
+WGS 84\r
+Altitude is in Feet\r
+Reserved 3\r
+0,2,255,track0,0,0,2,8421376\r
+0\r
+0.000000,1.000000,1,-777.0,40180.1278356,,\r
+0.000010,1.000020,0,-777.0,40180.1278472,,\r
gpsbabel -i ozi -f ${REFERENCE}/track/20070813_short.plt -o ozi -F ${TMPDIR}/20070813_short~plt.plt
compare ${REFERENCE}/track/20070813_short~plt.plt ${TMPDIR}/20070813_short~plt.plt
+# test ozi tracks with multilple tracks which will be written to separate files
+gpsbabel -i gpx -f ${REFERENCE}/track/ozitracks.gpx -o ozi -F ${TMPDIR}/ozitracks~gpx.plt
+compare ${REFERENCE}/track/ozitracks~gpx.plt ${TMPDIR}/ozitracks~gpx.plt
+compare ${REFERENCE}/track/ozitracks~gpx-1.plt ${TMPDIR}/ozitracks~gpx-1.plt
+compare ${REFERENCE}/track/ozitracks~gpx-2.plt ${TMPDIR}/ozitracks~gpx-2.plt
+
+# test ozi with no output making sure we don't throw an error or segmentation fault.
+gpsbabel -i gpx -f ${REFERENCE}/track/ozitracks.gpx -x nuketypes,waypoints,tracks,routes -o ozi -F ${TMPDIR}/empty.plt